//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Lewis Black','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Thursday','5/2/2024','8:00 PM','5823781','Lewis-Black-5-2-2024'],['A.J. Croce: Croce Plays Croce','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Friday','5/3/2024','8:00 PM','6217403','A-J--Croce--Croce-Plays-Croce-5-3-2024'],['The Rock Orchestra: Plays Fleetwood Mac','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Saturday','5/4/2024','8:00 PM','6151774','The-Rock-Orchestra--Plays-Fleetwood-Mac-5-4-2024'],['Little Women','The Playhouse on Rodney Square','Wilmington, DE','Thursday','5/9/2024','8:00 PM','5760407','Little-Women-5-9-2024'],['The Temptations & The Four Tops','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Thursday','5/9/2024','8:00 PM','5823783','The-Temptations---The-Four-Tops-5-9-2024'],['Little Women','The Playhouse on Rodney Square','Wilmington, DE','Friday','5/10/2024','8:00 PM','5760408','Little-Women-5-10-2024'],['Little Women','The Playhouse on Rodney Square','Wilmington, DE','Saturday','5/11/2024','2:00 PM','5760409','Little-Women-5-11-2024'],['The Simon and Garfunkel Songbook: An Evening of Songs and Stories','The Baby Grand At Grand Opera House - DE','Wilmington, DE','Saturday','5/11/2024','8:00 PM','6217400','The-Simon-and-Garfunkel-Songbook--An-Evening-of-Songs-and-Stories-5-11-2024'],['Little Women','The Playhouse on Rodney Square','Wilmington, DE','Saturday','5/11/2024','8:00 PM','5760411','Little-Women-5-11-2024'],['Little Women','The Playhouse on Rodney Square','Wilmington, DE','Sunday','5/12/2024','2:00 PM','5760410','Little-Women-5-12-2024'],['Amy Grant','The Playhouse on Rodney Square','Wilmington, DE','Saturday','5/18/2024','7:00 PM','6121285','Amy-Grant-5-18-2024'],['The Kat and Dave Show: David Foster & Katharine McPhee','The Playhouse on Rodney Square','Wilmington, DE','Sunday','5/19/2024','7:00 PM','5486336','The-Kat-and-Dave-Show--David-Foster---Katharine-McPhee-5-19-2024'],['Eddie B','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Friday','5/31/2024','8:00 PM','6295935','Eddie-B-5-31-2024'],['The Princess Bride - An Inconceivable Evening with Cary Elwes','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Sunday','6/2/2024','7:00 PM','6368247','The-Princess-Bride---An-Inconceivable-Evening-with-Cary-Elwes-6-2-2024'],['Shrek The Musical','The Playhouse on Rodney Square','Wilmington, DE','Tuesday','6/4/2024','8:00 PM','6151781','Shrek-The-Musical-6-4-2024'],['Theresa Caputo','The Playhouse on Rodney Square','Wilmington, DE','Thursday','6/6/2024','7:30 PM','6358691','Theresa-Caputo-6-6-2024'],['Floyd Nation','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Saturday','6/8/2024','8:00 PM','6297145','Floyd-Nation-6-8-2024'],['Tom Papa','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Thursday','6/13/2024','8:00 PM','6316924','Tom-Papa-6-13-2024'],['Joe Jackson','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Friday','6/14/2024','8:00 PM','6143295','Joe-Jackson-6-14-2024'],['The Beach Boys','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Sunday','6/23/2024','7:00 PM','6254188','The-Beach-Boys-6-23-2024'],['Kathleen Madigan','Copeland Hall At Grand Opera House - DE','Wilmington, DE','Saturday','9/7/2024','8:00 PM','5982310','Kathleen-Madigan-9-7-2024'],['Suzanne Vega','The Baby Grand At Grand Opera House - DE','Wilmington, DE','Saturday','9/21/2024','8:00 PM','6316321','Suzanne-Vega-9-21-2024'],['Sutton Foster','The Playhouse on Rodney Square','Wilmington, DE','Saturday','11/2/2024','8:00 PM','6190920','Sutton-Foster-11-2-2024'],['Andy Falco & Travis Book Play Jerry Garcia','The Baby Grand At Grand Opera House - DE','Wilmington, DE','Friday','11/8/2024','8:00 PM','6342469','Andy-Falco---Travis-Book-Play-Jerry-Garcia-11-8-2024'],['Colin Jost','The Playhouse on Rodney Square','Wilmington, DE','Tuesday','4/22/2070','TBD','4326526','Colin-Jost-4-22-2070']],'The Grand Opera House Wilmington','http://www.ticketnetwork.com/ticket/The-Grand-Opera-House-Wilmington-events.aspx');